<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>出库</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		<link rel="stylesheet" href="../css/mui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../css/app.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">单据出库</h1>
		</header>
		<div class="mui-content">
		
			<input id="boxCodeInput" type="text" class="mui-input-clear" placeholder="出库单号">
			<div id='codeDiv' class="mui-slider-handle">
			</div>
			<ul id="OA_task_2" class="mui-table-view">
			</ul>
			 
		<div id="removeTmp" style="visibility: hidden;">
			     <div style="display: none;">sgj_id</div>
				<!-- <div class="mui-slider-left mui-disabled">
					<a class="mui-btn mui-btn-red">出库</a>
				</div> -->
				<div class="mui-slider-right mui-disabled">
					<a class="mui-btn mui-btn-red">出库</a>
				</div>
				<div class="mui-slider-handle">
					sgj_data
				</div> 
		</div>
				
		</div>
		<script src="../js/mui.js"></script>
		<script src="kj.js"></script>
		<script>
			mui.init(); 
		</script>
		<script src="CsdOut.js"></script>
		<script>  
			function queryAll(){
				var v=document.getElementById("boxCodeInput").value
				if(v.length>4){
					document.getElementById("codeDiv").innerHTML=v;  
					myGet("pda/csds/"+v,   showCDS);
				}
			}
			document.getElementById("boxCodeInput").addEventListener('input',queryAll, false);	
			
			function getData(det,index){
				var info= "(" +index +")"  + getItem(det.itemId) + "（"+det.countDb+")"+units[det.unit]+det.locId+""+det.boxCode
				return info;
			}
		</script>
	</body>

</html>